package com.top.art.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * The type User bo.
 *
 * @author hjh
 * @version 2020 /10/4-19:12
 */
@Data
public class UserUpdateBO {

    private String role;

    private List<String> provinces;
    private String name;
    private String password;
    private List<String> courses;

    /**
     * 是否有效，1:有效，0无效
     */
    private Integer enable;

    /**
     * 主键
     */
    @NotNull(message = "id不能为空")
    private Long id;
}
